fs-back: unmapp all shared ring pages when a domain dies
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:43:53 +0000 (08:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:43:53 +0000 (08:43 +0000)
commit9c2e145d6843e65679b47c449af2737a9054ba03
tree8fa7cf290722c5154abac8d4fa2c416cdc349c08
parente8f30212b1a56363089afb9220b1bdff44e23c8e
fs-back: unmapp all shared ring pages when a domain dies

This bug causes some pages not to be properly freed by xen, hence
after a cycle of 50 save\restore we don't have enough spare memory to
start 2 VMs any more. This patch fixes the issue properly unmapping
all the pages needed by the shared ring.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/fs-back/fs-backend.c